package com.tuanzi.loan.business.repository.pageTemplate;

import com.tuanzi.loan.business.entity.pageTemplate.LoanPageTemplateModule;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface LoanPageTemplateModuleRepository extends JpaRepository<LoanPageTemplateModule,Long> {
    void deleteAllByTemplateId(Long templateId);
    List<LoanPageTemplateModule> findAllByTemplateId(Long templateId);
}
